Skip to content

PDFPen Constructors

Overloads

Name Description
PDFPen(PDFColor,Double) Initializes a new PDFPen object.
PDFPen() Initializes a new PDFPen object with a default RGB black color and a width of 1 point.
PDFPen(PDFPen) Initializes a new PDFPen object with another pen.

PDFPen(PDFColor,Double)

Initializes a new PDFPen object.

C#
public PDFPen(PDFColor color, double width)

Parameters

color PDFColor

Pen color.

width Double

Pen width.

PDFPen()

Initializes a new PDFPen object with a default RGB black color and a width of 1 point.

C#
public PDFPen()

PDFPen(PDFPen)

Initializes a new PDFPen object with another pen.

C#
public PDFPen(PDFPen pen)

Parameters

pen PDFPen

Source pen.